package com.eastmoney.emis.edda.infrastructure.message;

import com.eastmoney.emis.edda.domain.entity.EddaApply;
import com.eastmoney.emis.edda.domain.entity.EddiInstruction;

import java.util.Map;

/**
 * @description: Description
 * @projectName: EDDA-HSBC
 * @package: com.eastmoney.emis.edda.infrastructure.message
 * @author: 汪程程
 * @date: 2022/10/18 11:13 AM
 * @version: 1.0
 */
public interface MessageSender {

    void send(EddaApply eddaApply, boolean ignore);

    void send(EddiInstruction eddiInstruction, boolean ignore);

    void sendEddaApplyFailSms(String clientId, String language, Stage stage, Map<String, String> params);

    enum Stage {
        SET_UP,
        APPLY
    }
}
